home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Strate…Tools for the Enterprise / Microsoft Internet Strategy & Tools for the Enterprise.iso / bkoffice / inetsrv.nts / nt351qfe.usa / ppc / update.inf < prev    next >
INI File  |  1995-11-16  |  39KB  |  892 lines

  1. [FileKeyedClasses]
  2.     Hal            = hal.dll
  3.     Ntoskrnl       = ntoskrnl.exe
  4. [FilesKeyedSections]
  5.     FilesHal       = $(STF_HALDEST)
  6.     FilesNtoskrnl  = $(STF_WINDOWSSYSPATH)
  7. [FilesHal]
  8.     HAL      = 1, HAL.DLL      , RENAME=$(NEWFILE), NOLOG, UNDO
  9.     HALFIRE  = 1, HALFIRE.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  10.  
  11. [FilesNtoskrnl]
  12.     NTKRNLMP = 1, NTKRNLMP.EXE , RENAME=$(NEWFILE), NOLOG, UNDO
  13.     NTOSKRNL = 1, NTOSKRNL.EXE , RENAME=$(NEWFILE), NOLOG, UNDO
  14.  
  15. [FileSections]
  16.     FilesPrimary        = C:
  17.     FilesOsLoader       = $(STF_OSLDEST)
  18.     FilesPal            = $(STF_HALDEST)
  19.     FilesWinnt          = $(STF_WINDOWSPATH)
  20.     FilesSystem32       = $(STF_WINDOWSSYSPATH)
  21.     FilesSystem         = $(STF_WINDOWSPATH)\system
  22.     FilesDrivers        = $(STF_WINDOWSSYSPATH)\drivers
  23.     FilesConfig         = $(STF_WINDOWSSYSPATH)\config
  24.     FilesWinspool       = $(STF_WINDOWSSYSPATH)\spool
  25.     FilesPrnDriver      = $(STF_WINDOWSSYSPATH)\spool\drivers\$(!STF_PRNPLATFORM)\1
  26.     FilesPrnProc        = $(STF_WINDOWSSYSPATH)\spool\prtprocs\$(!STF_PRNPLATFORM)
  27.     FilesDbgCom         = $(STF_WINDOWSPATH)\symbols\com
  28.     FilesDbgCpl         = $(STF_WINDOWSPATH)\symbols\cpl
  29.     FilesDbgDll         = $(STF_WINDOWSPATH)\symbols\dll
  30.     FilesDbgDrv         = $(STF_WINDOWSPATH)\symbols\drv
  31.     FilesDbgExe         = $(STF_WINDOWSPATH)\symbols\exe
  32.     FilesDbgScr         = $(STF_WINDOWSPATH)\symbols\scr
  33.     FilesDbgSys         = $(STF_WINDOWSPATH)\symbols\sys
  34. [FileSectionsCopyAlways]
  35.     FilesSystem32CopyAlways = $(STF_WINDOWSSYSPATH)
  36.     FilesDriversCopyAlways  = $(STF_WINDOWSSYSPATH)\drivers
  37. [FileSectionsWINNT]
  38.     FilesInfWinnt       = $(STF_WINDOWSSYSPATH)
  39. [FileSectionsLANMANNT]
  40.     FilesInfLanmanNT    = $(STF_WINDOWSSYSPATH)
  41. [FileSectionsCopyAlwaysWINNT]
  42.     FilesSystem32CopyAlwaysWinnt = $(STF_WINDOWSSYSPATH)
  43. [FileSectionsCopyAlwaysLANMANNT]
  44.     FilesSystem32CopyAlwaysLanmanNT = $(STF_WINDOWSSYSPATH)
  45. [FilesPrimary]
  46.  
  47. [FilesOsLoader]
  48.  
  49. [FilesPal]
  50. 1 = 1, VENEER.EXE  , RENAME=$(NEWFILE), NOLOG, UNDO
  51.  
  52. [FilesWinnt]
  53.  
  54. [FilesSystem32]
  55. 1 = 1, ADVAPI32.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  56. 2 = 1, BROWSER.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  57. 3 = 1, CIRRUS.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  58. 4 = 1, CMD.EXE     , RENAME=$(NEWFILE), NOLOG, UNDO
  59. 5 = 1, CSRSRV.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  60. 6 = 1, CSRSS.EXE   , RENAME=$(NEWFILE), NOLOG, UNDO
  61. 7 = 1, DHCPSSVC.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  62. 8 = 1, FTP.EXE     , RENAME=$(NEWFILE), NOLOG, UNDO
  63. 9 = 1, FTPSVC.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  64. 10 = 1, FTSRCH.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  65. 11 = 1, GLSRV.DLL   , RENAME=$(NEWFILE), NOLOG, UNDO
  66. 12 = 1, IMAGEHLP.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  67. 13 = 1, INETMIB1.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  68. 14 = 1, KBDUK.DLL   , RENAME=$(NEWFILE), NOLOG, UNDO
  69. 15 = 1, KERNEL32.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  70. 16 = 1, KRNL286.EXE , RENAME=$(NEWFILE), NOLOG, UNDO
  71. 17 = 1, KRNL386.EXE , RENAME=$(NEWFILE), NOLOG, UNDO
  72. 18 = 1, LOCALSPL.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  73. 19 = 1, LPRMON.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  74. 20 = 1, LSASRV.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  75. 21 = 1, LSASS.EXE   , RENAME=$(NEWFILE), NOLOG, UNDO
  76. 22 = 1, MSGINA.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  77. 23 = 1, NETAPI32.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  78. 24 = 1, NETUI2.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  79. 25 = 1, NTBACKUP.EXE, RENAME=$(NEWFILE), NOLOG, UNDO
  80. 26 = 1, NTDLL.DLL   , RENAME=$(NEWFILE), NOLOG, UNDO
  81. 27 = 1, NTLMSSPS.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  82. 28 = 1, NTVDM.EXE   , RENAME=$(NEWFILE), NOLOG, UNDO
  83. 29 = 1, NWAPI16.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  84. 30 = 1, NWPROVAU.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  85. 31 = 1, NWWKS.DLL   , RENAME=$(NEWFILE), NOLOG, UNDO
  86. 32 = 1, OLE2DISP.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  87. 33 = 1, OLE2NLS.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  88. 34 = 1, OLE32.DLL   , RENAME=$(NEWFILE), NOLOG, UNDO
  89. 35 = 1, OLEAUT32.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  90. 36 = 1, OLETHK32.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  91. 37 = 1, OPENGL32.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  92. 38 = 1, PERFMON.EXE , RENAME=$(NEWFILE), NOLOG, UNDO
  93. 39 = 1, PROGMAN.EXE , RENAME=$(NEWFILE), NOLOG, UNDO
  94. 40 = 1, PSIDISP.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  95. 41 = 1, QV.DLL      , RENAME=$(NEWFILE), NOLOG, UNDO
  96. 42 = 1, RASCHAP.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  97. 43 = 1, RASNBFCP.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  98. 44 = 1, RASPPPEN.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  99. 45 = 1, RASSRV.EXE  , RENAME=$(NEWFILE), NOLOG, UNDO
  100. 46 = 1, ROUTE.EXE   , RENAME=$(NEWFILE), NOLOG, UNDO
  101. 47 = 1, RPCLTC1.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  102. 48 = 1, RPCLTC3.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  103. 49 = 1, RPCLTC5.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  104. 50 = 1, RPCLTC6.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  105. 51 = 1, RPCLTC7.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  106. 52 = 1, RPCLTS5.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  107. 53 = 1, RPCRT4.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  108. 54 = 1, RPCSS.EXE   , RENAME=$(NEWFILE), NOLOG, UNDO
  109. 55 = 1, RPLSVC.EXE  , RENAME=$(NEWFILE), NOLOG, UNDO
  110. 56 = 1, SAMLIB.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  111. 57 = 1, SAMSRV.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  112. 58 = 1, SECURITY.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  113. 59 = 1, SENDFL32.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  114. 60 = 1, SFMMON.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  115. 61 = 1, SFMPRINT.EXE, RENAME=$(NEWFILE), NOLOG, UNDO
  116. 62 = 1, SHELL32.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  117. 63 = 1, SRVSVC.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  118. 64 = 1, TYPELIB.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  119. 65 = 1, UNTFS.DLL   , RENAME=$(NEWFILE), NOLOG, UNDO
  120. 66 = 1, USER32.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  121. 67 = 1, USERINIT.EXE, RENAME=$(NEWFILE), NOLOG, UNDO
  122. 69 = 1, WIN32SPL.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  123. 70 = 1, WINFILE.EXE , RENAME=$(NEWFILE), NOLOG, UNDO
  124. 71 = 1, WINHLP32.EXE, RENAME=$(NEWFILE), NOLOG, UNDO
  125. 72 = 1, WINLOGON.EXE, RENAME=$(NEWFILE), NOLOG, UNDO
  126. 73 = 1, WINS.EXE    , RENAME=$(NEWFILE), NOLOG, UNDO
  127. 74 = 1, WINSRV.DLL  , RENAME=$(NEWFILE), NOLOG, UNDO
  128. 75 = 1, WOW32.DLL   , RENAME=$(NEWFILE), NOLOG, UNDO
  129. 76 = 1, WOWEXEC.EXE , RENAME=$(NEWFILE), NOLOG, UNDO
  130. 77 = 1, WOWFAXUI.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  131. 78 = 1, WSOCK32.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  132. 79 = 1, PROBREP.TXT , RENAME=$(NEWFILE), NOLOG, UNDO
  133.  
  134. [FilesSystem]
  135.  
  136. [FilesDrivers]
  137. 1 = 1, AFD.SYS     , RENAME=$(NEWFILE), NOLOG, UNDO
  138. 2 = 1, AHA154X.SYS , RENAME=$(NEWFILE), NOLOG, UNDO
  139. 3 = 1, AIC78XX.SYS , RENAME=$(NEWFILE), NOLOG, UNDO
  140. 4 = 1, ATAPI.SYS   , RENAME=$(NEWFILE), NOLOG, UNDO
  141. 5 = 1, ATI.SYS     , RENAME=$(NEWFILE), NOLOG, UNDO
  142. 6 = 1, BHNT.SYS    , RENAME=$(NEWFILE), NOLOG, UNDO
  143. 7 = 1, CIRRUS.SYS  , RENAME=$(NEWFILE), NOLOG, UNDO
  144. 8 = 1, DC21X4.SYS  , RENAME=$(NEWFILE), NOLOG, UNDO
  145. 9 = 1, DEFEA.SYS   , RENAME=$(NEWFILE), NOLOG, UNDO
  146. 10 = 1, DPTSCSI.SYS , RENAME=$(NEWFILE), NOLOG, UNDO
  147. 11 = 1, ELNKMC.SYS  , RENAME=$(NEWFILE), NOLOG, UNDO
  148. 12 = 1, NCRC700.SYS , RENAME=$(NEWFILE), NOLOG, UNDO
  149. 13 = 1, NDIS.SYS    , RENAME=$(NEWFILE), NOLOG, UNDO
  150. 14 = 1, NE3200.SYS  , RENAME=$(NEWFILE), NOLOG, UNDO
  151. 15 = 1, NETBT.SYS   , RENAME=$(NEWFILE), NOLOG, UNDO
  152. 16 = 1, NPMCA.SYS   , RENAME=$(NEWFILE), NOLOG, UNDO
  153. 17 = 1, NTFS.SYS    , RENAME=$(NEWFILE), NOLOG, UNDO
  154. 18 = 1, NWLNKIPX.SYS, RENAME=$(NEWFILE), NOLOG, UNDO
  155. 19 = 1, NWLNKNB.SYS , RENAME=$(NEWFILE), NOLOG, UNDO
  156. 20 = 1, NWLNKRIP.SYS, RENAME=$(NEWFILE), NOLOG, UNDO
  157. 21 = 1, NWLNKSPX.SYS, RENAME=$(NEWFILE), NOLOG, UNDO
  158. 22 = 1, NWRDR.SYS   , RENAME=$(NEWFILE), NOLOG, UNDO
  159. 23 = 1, PCMCIA.SYS  , RENAME=$(NEWFILE), NOLOG, UNDO
  160. 24 = 1, PSIDISP.SYS , RENAME=$(NEWFILE), NOLOG, UNDO
  161. 25 = 1, RDR.SYS     , RENAME=$(NEWFILE), NOLOG, UNDO
  162. 26 = 1, S3.SYS      , RENAME=$(NEWFILE), NOLOG, UNDO
  163. 27 = 1, SCSIDISK.SYS, RENAME=$(NEWFILE), NOLOG, UNDO
  164. 28 = 1, SFMATALK.SYS, RENAME=$(NEWFILE), NOLOG, UNDO
  165. 29 = 1, SFMSRV.SYS  , RENAME=$(NEWFILE), NOLOG, UNDO
  166. 30 = 1, SRV.SYS     , RENAME=$(NEWFILE), NOLOG, UNDO
  167. 31 = 1, TCPIP.SYS   , RENAME=$(NEWFILE), NOLOG, UNDO
  168. 32 = 1, STREAMS.SYS , RENAME=$(NEWFILE), NOLOG, UNDO
  169. 33 = 1, ASYNCMAC.SYS, RENAME=$(NEWFILE), NOLOG, UNDO
  170.  
  171. [FilesConfig]
  172. [FilesWinspool]
  173. [FilesPrnDriver]
  174. 1 = 1, DICONIX.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  175. 2 = 1, HPPCL5MS.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  176. 3 = 1, PSCRIPT.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  177. 4 = 1, PSCRPTUI.DLL, RENAME=$(NEWFILE), NOLOG, UNDO
  178. 5 = 1, RASDD.DLL   , RENAME=$(NEWFILE), NOLOG, UNDO
  179. 6 = 1, RASDDUI.DLL , RENAME=$(NEWFILE), NOLOG, UNDO
  180.  
  181. [FilesPrnProc]
  182.  
  183. [FilesDbgCom]
  184. [FilesDbgCpl]
  185. [FilesDbgDll]
  186. [FilesDbgDrv]
  187. [FilesDbgExe]
  188. [FilesDbgScr]
  189. [FilesDbgSys]
  190. [FilesInfWinnt]
  191.  
  192. [FilesInfLanmanNT]
  193. 1 = 1, NWDOC.HLP, RENAME=$(NEWFILE), NOLOG, UNDO
  194.  
  195. [FilesSystem32CopyAlways]
  196.  
  197. [FilesDriversCopyAlways]
  198. [FilesSystem32CopyAlwaysWINNT]
  199. [FilesSystem32CopyAlwaysLANMANNT]
  200. [ProcessorID]
  201.     ProcessorID_I386  = I386
  202.     ProcessorID_I486  = I486
  203.     ProcessorID_I586  = I586
  204.     ProcessorID_R4000 = R4000
  205. [UiVars]
  206.     STF_PLATFORMDET    = "" ? $(!LIBHANDLE) GetPlatform
  207.     STF_CSDVER         = 768
  208.     STF_BUILDVER       = 1057
  209.     STF_CSD1_NT35      = 256
  210.     STF_NT31_BUILDVER  = 528
  211.     STF_NT35_BUILDVER  = 807
  212.     STF_NT351_BUILDVER = 1057
  213.     STF_NT351_MAJORVER = 3
  214.     STF_NT351_MINORVER = 51
  215.     STF_PRIMARY        = "C:"
  216.     STF_NTDRIVE        = ""
  217.     STF_WINDOWSPATH    = "" ? $(!LIBHANDLE) GetWindowsNtDir
  218.     STF_WINDOWSSYSPATH = "" ? $(!LIBHANDLE) GetWindowsNtSysDir
  219.     STF_CONTROLSET     = CurrentControlSet
  220.     VolumeList         = {} ? $(!LIBHANDLE) GetHardDriveLetters
  221.     VolumeFSList       = {} ? $(!LIBHANDLE) GetHardDriveFileSystems
  222.     VolumeFreeList     = {} ? $(!LIBHANDLE) GetHardDriveFreeSpace
  223.     DisketteList       = {} ? $(!LIBHANDLE) GetFloppyDriveLetters
  224. [FreeSpaceI386]
  225.     RequiredFreeWinnt  = 25
  226. [FreeSpaceMips]
  227.     RequiredFreeWinnt  = 32
  228. [FreeSpaceppc]
  229.     RequiredFreeWinnt  = 32
  230. [FreeSpaceAlpha]
  231.     RequiredFreeWinnt  = 27
  232. [NVRAMVars]
  233.     SystemPartition = "" ? $(!LIBHANDLE) GetNVRAMVar SYSTEMPARTITION
  234.     OsLoader        = "" ? $(!LIBHANDLE) GetNVRAMVar OSLOADER
  235.     OsLoadPartition = "" ? $(!LIBHANDLE) GetNVRAMVar OSLOADPARTITION
  236.     OsLoadFilename  = "" ? $(!LIBHANDLE) GetNVRAMVar OSLOADFILENAME
  237. [Shell Commands]
  238.     set-title "Windows NT Setup"
  239.     set-subst CR = "\r"
  240.     set-subst LF = "\n"
  241.     set STF_LANGUAGE = ENG
  242.     read-syms Strings
  243.     shell "subroutn.inf" PushBillboard STATUSDLG $(Billboard1)
  244.     set BillboardPushed = TRUE
  245.     set !LIBHANDLE      = ""
  246.     set !PATCHLIBHANDLE = ""
  247.     install   LoadSetupLibrary
  248.     read-syms ProductType
  249.     ifstr(i) $(!STF_PLATFORM) == I386
  250.         set STF_PRNPLATFORM = "w32x86"
  251.     else-ifstr(i) $(!STF_PLATFORM) == Mips
  252.         set STF_PRNPLATFORM = "w32mips"
  253.     else-ifstr(i) $(!STF_PLATFORM) == ppc
  254.         set STF_PRNPLATFORM = "w32ppc"
  255.     else-ifstr(i) $(!STF_PLATFORM) == Alpha
  256.         set STF_PRNPLATFORM = "w32alpha"
  257.     endif
  258.     read-syms UiVars
  259.     detect    UiVars
  260.     read-syms FreeSpace$(!STF_PLATFORM)
  261.     ifstr(i) $(STF_PLATFORM) != $(STF_PLATFORMDET)
  262.          ifstr(i) $(BillboardPushed) == TRUE
  263.              shell "subroutn.inf" PopBillboard
  264.              set BillboardPushed = FALSE
  265.          endif
  266.          shell "subroutn.inf" SetupMessage $(STF_LANGUAGE) "FATAL" $(String1)
  267.          goto patchnotdone
  268.     endif
  269.     shell "registry.inf" CheckSetupModify
  270.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  271.         ifstr(i) $(BillboardPushed) == TRUE
  272.             shell "subroutn.inf" PopBillboard
  273.             set BillboardPushed = FALSE
  274.         endif
  275.         Debug-Output "shelling CheckSetupModify failed"
  276.         goto patchnotdone
  277.     else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
  278.         ifstr(i) $(BillboardPushed) == TRUE
  279.             shell "subroutn.inf" PopBillboard
  280.             set BillboardPushed = FALSE
  281.         endif
  282.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "FATAL" $(String4)
  283.         goto patchnotdone
  284.     endif
  285.     install   LoadPatchLibrary
  286.     shell "" GetCheckedFree
  287.     ifint $($ShellCode) == $(!SHELL_CODE_OK)
  288.         ifstr(i) $($R0) == "STATUS_SUCCESSFUL"
  289.             ifstr(i) $($R1) == "checked"
  290.                 shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "FATAL" $(String15)
  291.                 goto patchnotdone
  292.             endif
  293.         endif
  294.     endif
  295.     LibraryProcedure STATUS,$(!PATCHLIBHANDLE), CheckWindowsMajorVersion
  296.     ifint $(STATUS) > $(STF_NT351_MAJORVER)
  297.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String18)
  298.         goto patchnotdone
  299.     else-ifint $(STATUS) = $(STF_NT351_MAJORVER)
  300.         LibraryProcedure STATUS,$(!PATCHLIBHANDLE), CheckWindowsMinorVersion
  301.         ifint $(STATUS) > $(STF_NT351_MINORVER)
  302.             shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String18)
  303.             goto patchnotdone
  304.         endif
  305.     endif
  306.     LibraryProcedure STATUS,$(!PATCHLIBHANDLE), CheckBuildVersion
  307.     ifint $(STATUS) <= $(STF_NT35_BUILDVER)
  308.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String16)
  309.         goto patchnotdone
  310.     else-ifint $(STATUS) < $(STF_NT351_BUILDVER)
  311.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String17)
  312.         goto patchnotdone
  313.     else-ifint $(STATUS) > $(STF_NT351_BUILDVER)
  314.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String18)
  315.         goto patchnotdone
  316.     endif
  317.     ifstr(i) $(!STF_PLATFORM) == ppc
  318.         OpenRegKey $(!REG_H_LOCAL) "" "Software\Microsoft\Windows NT\CurrentVersion" 33554432 KeyCurrentVersion
  319.         ifstr(i) $(KeyCurrentVersion) != ""
  320.             GetRegValue $(KeyCurrentVersion) "CSDVersion" CSDVersionList
  321.             ifstr(i) $(CSDVersionList) == "Power Managed Version X"
  322.                 shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String19)
  323.                 goto patchnotdone
  324.             endif
  325.             GetRegValue $(KeyCurrentVersion) "PowerManagedVersion" PMVersionList
  326.             ifstr(i) $(PMVersionList) != ""
  327.                 shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String19)
  328.                 goto patchnotdone
  329.             endif
  330.         endif
  331.     endif
  332. skip_patchvercheck = +
  333.     GetDriveInPath !STF_NTDRIVE $(!STF_WINDOWSSYSPATH)
  334.     ifint *($(VolumeFreeList), ~($(VolumeList), $(!STF_NTDRIVE))) < $(RequiredFreeWinnt)
  335.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String13a)$(RequiredFreeWinnt)$(String13b)$(!STF_NTDRIVE)$(String13c)
  336.         goto patchnotdone
  337.     endif
  338.     set STF_PRODUCT = ""
  339.     OpenRegKey $(!REG_H_LOCAL) "" "System\CurrentControlSet\Control\ProductOptions" 33554432 KeyProductOption
  340.     ifstr(i) $(KeyProductOption) != ""
  341.         GetRegValue $(KeyProductOption) "ProductType" ProductTypeList
  342.         set TempProductType = *($(ProductTypeList),4)
  343.         ifstr(i) $(TempProductType) == "winnt"
  344.             set !STF_PRODUCT = WINNT
  345.             set !PRODUCT_DIR = WINNT
  346.         else-ifstr(i) $(TempProductType) == "lanmannt"
  347.             set !STF_PRODUCT = LANMANNT
  348.             set !PRODUCT_DIR = NTAS
  349.         else-ifstr(i) $(TempProductType) == "servernt"
  350.             set !STF_PRODUCT = SERVERNT
  351.             set !PRODUCT_DIR = NTAS
  352.         endif
  353.         CloseRegKey $(KeyProductOptions)
  354.     endif
  355.     ifstr(i) $(STF_PRODUCT) == ""
  356.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String14)
  357.         goto patchnotdone
  358.     endif
  359.     ifstr(i) $(!STF_PLATFORM) == I386
  360.         set STF_HALDEST = $(!STF_WINDOWSSYSPATH)
  361.         set STF_OSLDEST = C:\
  362.     else
  363.         read-syms NVRAMVars
  364.         detect    NVRAMVars
  365.         LibraryProcedure STATUS,$(!PATCHLIBHANDLE), GetOsLoaderDest         +
  366.                                                          $(SystemPartition) +
  367.                                                          $(OsLoader)        +
  368.                                                          $(OsLoadPartition) +
  369.                                                          $(OsLoadFilename)
  370.         ifstr(i) $(STATUS) == ERROR
  371.             goto patchnotdone
  372.         else
  373.             set STF_OSLDEST = $(STATUS)
  374.             set STF_HALDEST = $(STATUS)
  375.         endif
  376.     endif
  377.     read-syms FilesKeyedSections
  378.     set KeyedClassKeys  = ^(FileKeyedClasses, 0)
  379.     set KeyedClassFiles = ^(FileKeyedClasses, 1)
  380.     set KeyedClassFilesList = {}
  381.     ForListDo $(KeyedClassKeys)
  382.         set TmpKey       = Files$($)
  383.         set TmpFile      = #(FileKeyedClasses, $($), 1)
  384.         set TmpFilePath  = $($(TmpKey))\$(TmpFile)
  385.         set KeyedClassFilesList = >($(KeyedClassFilesList), $(TmpFilePath))
  386.     EndForListDo
  387.     LibraryProcedure STATUS,$(!PATCHLIBHANDLE), GetFileTypes $(KeyedClassFilesList)
  388.     ifstr(i) $(STATUS) == ERROR
  389.         goto patchnotdone
  390.     else-ifstr(i) $(STATUS) == SETUPLOGNOTPRESENT
  391.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(String11)
  392.         goto patchnotdone
  393.     else
  394.         ForListDo $(KeyedClassKeys)
  395.             set $($)Type = *($(STATUS), $(#))
  396.         EndForListDo
  397.     endif
  398.     ifstr(i) $(BillboardPushed) == TRUE
  399.         shell "subroutn.inf" PopBillboard
  400.         set BillboardPushed = FALSE
  401.     endif
  402.     shell "" QueryOkCancel $(String9)
  403.     ifstr(i) $($R1) == "OK"
  404.     else
  405.         set String = $(String12)
  406.         goto finish2
  407.     endif
  408.     shell "subroutn.inf" PushBillboard STATUSDLG $(Billboard2)
  409.     set BillboardPushed = TRUE
  410.     set MoveFileExList  = {}
  411.     read-syms FileSections
  412.     set FileSectionsList = ^(FileSections, 0)
  413.     set FileSource  = $(!STF_SRCDIR)
  414.     ForListDo $(FileSectionsList)
  415.         set FileSection = $($)
  416.         set FileDest    = $($($))
  417.         set FileList    = ^($(FileSection), 0)
  418.         ForListDo $(FileList)
  419.             set FileKey = $($)
  420.             set File    = #($(FileSection), $(FileKey), 2)
  421.             set FileDestFullPath = $(FileDest)\$(File)
  422.             LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(FileDestFullPath)
  423.             ifstr(i) $(STATUS) == YES
  424.                 LibraryProcedure STATUS, $(!PATCHLIBHANDLE), IsFileOpenedExclusive $(FileDestFullPath)
  425.                 ifstr(i) $(STATUS) == ERROR
  426.                     goto patchnotdone
  427.                 else
  428.                     ifstr(i) $(STATUS) == "YES"
  429.                         LibraryProcedure NEWFILE, $(!PATCHLIBHANDLE), GenerateTemporary $(FileDest)
  430.                         ifstr(i) $(NEWFILE) == ERROR
  431.                             goto patchnotdone
  432.                         else
  433.                             set FileComp = {$(FileDest)\$(NEWFILE), $(FileDestFullPath)}
  434.                             set MoveFileExList = >($(MoveFileExList), $(FileComp))
  435.                         endif
  436.                     else
  437.                         set NEWFILE = $(File)
  438.                     endif
  439.                     install Install-File
  440.                 endif
  441.             endif
  442.         EndForListDo
  443.     EndForListDO
  444.     set FileSource  = $(!STF_SRCDIR)
  445.     ForListDo $(KeyedClassKeys)
  446.         set FileSection = Files$($)
  447.         set FileDest    = $($(FileSection))
  448.         set FileKey     = $($($)Type)
  449.         set KeyedClassChoices = ^(Files$($), 0)
  450.         ifcontains(i) $(FileKey) in $(KeyedClassChoices)
  451.             set File             = #(FileKeyedClasses, $($), 1)
  452.             set FileDestFullPath = $(FileDest)\$(File)
  453.             LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(FileDestFullPath)
  454.             ifstr(i) $(STATUS) == YES
  455.                 LibraryProcedure STATUS, $(!PATCHLIBHANDLE), IsFileOpenedExclusive $(FileDestFullPath)
  456.                 ifstr(i) $(STATUS) == ERROR
  457.                     goto patchnotdone
  458.                 else
  459.                     ifstr(i) $(STATUS) == "YES"
  460.                         LibraryProcedure NEWFILE, $(!PATCHLIBHANDLE), GenerateTemporary $(FileDest)
  461.                         ifstr(i) $(NEWFILE) == ERROR
  462.                             goto patchnotdone
  463.                         else
  464.                             set FileComp = {$(FileDest)\$(NEWFILE), $(FileDestFullPath)}
  465.                             set MoveFileExList = >($(MoveFileExList), $(FileComp))
  466.                         endif
  467.                     else
  468.                         set NEWFILE = $(File)
  469.                     endif
  470.                     install Install-File
  471.                 endif
  472.             endif
  473.         endif
  474.     EndForListDo
  475.     ifstr(i) $(STF_PRODUCT) == "WINNT"
  476.         set TEMP_PRODUCT = WINNT
  477.     else
  478.         set TEMP_PRODUCT = LANMANNT
  479.     endif
  480.     read-syms FileSections$(TEMP_PRODUCT)
  481.     set FileSectionsList = ^(FileSections$(TEMP_PRODUCT), 0)
  482.     set FileSource  = $(!STF_SRCDIR)$(PRODUCT_DIR)
  483.     ForListDo $(FileSectionsList)
  484.         set FileSection = $($)
  485.         set FileDest    = $($($))
  486.         set FileList    = ^($(FileSection), 0)
  487.         ForListDo $(FileList)
  488.             set FileKey = $($)
  489.             set File    = #($(FileSection), $(FileKey), 2)
  490.             set FileDestFullPath = $(FileDest)\$(File)
  491.             LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(FileDestFullPath)
  492.             ifstr(i) $(STATUS) == YES
  493.                 LibraryProcedure STATUS, $(!PATCHLIBHANDLE), IsFileOpenedExclusive $(FileDestFullPath)
  494.                 ifstr(i) $(STATUS) == ERROR
  495.                     goto patchnotdone
  496.                 else
  497.                     ifstr(i) $(STATUS) == "YES"
  498.                         LibraryProcedure NEWFILE, $(!PATCHLIBHANDLE), GenerateTemporary $(FileDest)
  499.                         ifstr(i) $(NEWFILE) == ERROR
  500.                             goto patchnotdone
  501.                         else
  502.                             set FileComp = {$(FileDest)\$(NEWFILE), $(FileDestFullPath)}
  503.                             set MoveFileExList = >($(MoveFileExList), $(FileComp))
  504.                         endif
  505.                     else
  506.                         set NEWFILE = $(File)
  507.                     endif
  508.                     install Install-File
  509.                 endif
  510.             endif
  511.         EndForListDo
  512.     EndForListDO
  513.     ifstr(i) $(BillboardPushed) == TRUE
  514.         shell "subroutn.inf" PopBillboard
  515.         set BillboardPushed = FALSE
  516.     endif
  517.     read-syms FileSectionsCopyAlways
  518.     set FileSectionsList = ^(FileSectionsCopyAlways, 0)
  519.     set FileSource  = $(!STF_SRCDIR)
  520.     ForListDo $(FileSectionsList)
  521.         set FileSection = $($)
  522.         set FileDest    = $($($))
  523.         set FileList    = ^($(FileSection), 0)
  524.         ForListDo $(FileList)
  525.             set FileKey = $($)
  526.             set File    = #($(FileSection), $(FileKey), 2)
  527.             set NEWFILE = $(File)
  528.             set FileDestFullPath = $(FileDest)\$(File)
  529.             install Install-File
  530.         EndForListDo
  531.     EndForListDO
  532.     read-syms FileSectionsCopyAlways$(TEMP_PRODUCT)
  533.     set FileSectionsList = ^(FileSectionsCopyAlways$(TEMP_PRODUCT), 0)
  534.     set FileSource  = $(!STF_SRCDIR)$(PRODUCT_DIR)
  535.     ForListDo $(FileSectionsList)
  536.         set FileSection = $($)
  537.         set FileDest    = $($($))
  538.         set FileList    = ^($(FileSection), 0)
  539.         ForListDo $(FileList)
  540.             set FileKey = $($)
  541.             set File    = #($(FileSection), $(FileKey), 2)
  542.             set NEWFILE = $(File)
  543.             set FileDestFullPath = $(FileDest)\$(File)
  544.             install Install-File
  545.         EndForListDo
  546.     EndForListDO
  547.     read-syms ProgressCopy$(!STF_LANGUAGE)
  548.     install   Install-DoCopy
  549.     ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  550.         goto patchnotdone
  551.     else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  552.         goto patchnotdone
  553.     endif
  554. processmovefileex=+
  555.     ForListDo $(MoveFileExList)
  556.         set ExistingPath = *($($), 1)
  557.         set NewPath      = *($($), 2)
  558.         LibraryProcedure STATUS, $(!PATCHLIBHANDLE), CopyFileOnReboot $(ExistingPath) $(NewPath)
  559.         ifstr(i) $(STATUS) == ERROR
  560.             goto patchnotdone
  561.         endif
  562.     EndForListDo
  563.     ifstr(i) $(!STF_PLATFORM) == I386
  564.         set NtLdrPath = $(STF_OSLDEST)"ntldr"
  565.         LibraryProcedure STATUS, $(!PATCHLIBHANDLE), ForceFileNoCompress $(NtLdrPath)
  566.         ifstr(i) $(STATUS) == ERROR
  567.             goto patchnotdone
  568.         endif
  569.     endif
  570. patchdone =+
  571.     ifstr(i) $(BillboardPushed) == TRUE
  572.         shell "subroutn.inf" PopBillboard
  573.         set BillboardPushed = FALSE
  574.     endif
  575.     shell "" DoRegistryModifications $(!STF_CSDVER)
  576.     read-syms SetupDoneDlg$(!STF_LANGUAGE)
  577.     ui start "SetupDone"
  578.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  579.         ui pop 1
  580.         goto rebootend
  581.     else
  582.         ui pop 1
  583.         goto finish1
  584.     endif
  585. patchnotdone =+
  586.     set String = $(String2)
  587. finish2 =+
  588.     ifstr(i) $(BillboardPushed) == TRUE
  589.         shell "subroutn.inf" PopBillboard
  590.         set BillboardPushed = FALSE
  591.     endif
  592.     shell "subroutn.inf" SetupMessage $(STF_LANGUAGE) "FATAL" $(String)
  593.     goto finish1
  594. finish1 =+
  595.     install   FreeSetupLibrary
  596. finish =+
  597.     install   FreePatchLibrary
  598.     exit
  599. rebootend =+
  600.     set Reboot = YES
  601.     install   Install-Shutdown
  602.     goto finish1
  603.     exit
  604. [LoadPatchLibrary]
  605.     LoadLibrary "x" patchdll.dll !PATCHLIBHANDLE
  606.     exit
  607. [FreePatchLibrary]
  608.     ifstr(i) $(!PATCHLIBHANDLE) != ""
  609.         FreeLibrary $(!PATCHLIBHANDLE)
  610.     endif
  611.     exit
  612. [LoadSetupLibrary]
  613.     LoadLibrary "x" $(!STF_CWDDIR)setupdll.dll !LIBHANDLE
  614.     exit
  615. [FreeSetupLibrary]
  616.     ifstr(i) $(!LIBHANDLE) != ""
  617.         FreeLibrary $(!LIBHANDLE)
  618.     endif
  619.     exit
  620. [Install-File]
  621.     set STF_VITAL = ""
  622.     AddSectionKeyFileToCopyList $(FileSection) $(FileKey) $(FileSource) $(FileDest)
  623.     exit
  624. [Install-DoCopy]
  625.     CopyFilesInCopyList
  626.     exit
  627. [Install-Shutdown]
  628.     LibraryProcedure STATUS,$(!LIBHANDLE),ShutdownSystem $(Reboot)
  629.     exit
  630. [RegistryConstants]
  631.     MaskAllAccess          = 33554432
  632.     NoTitle                = 0
  633.     RegLastError           = $(!REG_ERROR_SUCCESS)
  634. [DoRegistryModifications]
  635.     set Status = STATUS_FAILED
  636.     read-syms RegistryConstants
  637.     set KeyPath   = { +
  638.                      {SOFTWARE,                $(NoTitle), $(MaskAllAccess)}, +
  639.                      {Microsoft,               $(NoTitle), $(MaskAllAccess)}, +
  640.                      {"Windows NT",            $(NoTitle), $(MaskAllAccess)}, +
  641.                      {CurrentVersion,          $(NoTitle), $(MaskAllAccess)}, +
  642.                      {"Time Zones",            $(NoTitle), $(MaskAllAccess)}, +
  643.                      {"E. South America Standard Time",     $(NoTitle), $(MaskAllAccess)}  +
  644.                     }
  645.     set KeyValues = { +
  646.                      {Display, $(NoTitle), $(!REG_VT_SZ), "(GMT-03:00) Brasilia" } +
  647.                     }
  648.     shell "registry.inf" CreateKey $(!REG_H_LOCAL) $(KeyPath) $(KeyValues)
  649.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  650.         goto endCSDVersionCreate
  651.     endif
  652.     ifstr(i) $($R0) != STATUS_SUCCESSFUL
  653.         goto endCSDVersionCreate
  654.     else
  655.         CloseRegKey $($R1)
  656.     endif
  657.     set KeyPath   = { +
  658.                      {SYSTEM,                  $(NoTitle), $(MaskAllAccess)}, +
  659.                      {ControlSet001,           $(NoTitle), $(MaskAllAccess)}, +
  660.                      {Control,                 $(NoTitle), $(MaskAllAccess)}, +
  661.                      {ServiceGroupOrder,       $(NoTitle), $(MaskAllAccess)}  +
  662.                     }
  663.     set KeyValues = { +
  664.                      {List, $(NoTitle), $(!REG_VT_MULTI_SZ), {                       +
  665.                                                               "System Bus Extender", +
  666.                                                               "SCSI miniport",       +
  667.                                                               "port",                +
  668.                                                               "Primary disk",        +
  669.                                                               "SCSI class",          +
  670.                                                               "SCSI CDROM class",    +
  671.                                                               "filter",              +
  672.                                                               "boot file system",    +
  673.                                                               "Base",                +
  674.                                                               "Pointer Port",        +
  675.                                                               "Keyboard Port",       +
  676.                                                               "Pointer Class",       +
  677.                                                               "Keyboard Class",      +
  678.                                                               "Video Init",          +
  679.                                                               "Video",               +
  680.                                                               "Video Save",          +
  681.                                                               "file system",         +
  682.                                                               "Event log",           +
  683.                                                               "Streams Drivers",     +
  684.                                                               "NDIS",                +
  685.                                                               "TDI",                 +
  686.                                                               "NetBIOSGroup",        +
  687.                                                               "SpoolerGroup",        +
  688.                                                               "NetDDEGroup",         +
  689.                                                               "Parallel arbitrator", +
  690.                                                               "extended base",       +
  691.                                                               "RemoteValidation",    +
  692.                                                               "PCI Configuration"    +
  693.                                                              } }  +
  694.                     }
  695.     shell "registry.inf" CreateKey $(!REG_H_LOCAL) $(KeyPath) $(KeyValues)
  696.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  697.         goto endCSDVersionCreate
  698.     endif
  699.     ifstr(i) $($R0) != STATUS_SUCCESSFUL
  700.         goto endCSDVersionCreate
  701.     else
  702.         CloseRegKey $($R1)
  703.     endif
  704.     set KeyPath   = { +
  705.                      {SYSTEM,                  $(NoTitle), $(MaskAllAccess)}, +
  706.                      {CurrentControlSet,       $(NoTitle), $(MaskAllAccess)}, +
  707.                      {Control,                 $(NoTitle), $(MaskAllAccess)}, +
  708.                      {Lsa,                     $(NoTitle), $(MaskAllAccess)}  +
  709.                     }
  710.     set KeyValues = { +
  711.                      {UpgradeSam, $(NoTitle), $(!REG_VT_DWORD), 1} +
  712.                     }
  713.     shell "registry.inf" CreateKey $(!REG_H_LOCAL) $(KeyPath) $(KeyValues)
  714.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  715.         goto endCSDVersionCreate
  716.     endif
  717.     ifstr(i) $($R0) != STATUS_SUCCESSFUL
  718.         goto endCSDVersionCreate
  719.     else
  720.         CloseRegKey $($R1)
  721.     endif
  722.     set KeyPath   = { +
  723.                      {SYSTEM,            $(NoTitle), $(MaskAllAccess)}, +
  724.                      {CurrentControlSet, $(NoTitle), $(MaskAllAccess)}, +
  725.                      {Control,           $(NoTitle), $(MaskAllAccess)}, +
  726.                      {ProductOptions,    $(NoTitle), $(MaskAllAccess)}, +
  727.                     }
  728.     set KeyValues = { +
  729.                      {CSDVersion, $(NoTitle), $(!REG_VT_DWORD), $($0) } +
  730.                     }
  731.     shell "registry.inf" CreateKey $(!REG_H_LOCAL) $(KeyPath) $(KeyValues)
  732.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  733.         goto endCSDVersionCreate
  734.     endif
  735.     ifstr(i) $($R0) != STATUS_SUCCESSFUL
  736.         goto endCSDVersionCreate
  737.     else
  738.         CloseRegKey $($R1)
  739.     endif
  740.     set Status = STATUS_SUCCESSFUL
  741. endCSDVersionCreate = +
  742.     Return $(Status)
  743. [GetCSDVersion]
  744.     set Status = STATUS_SUCCESSFUL
  745.     read-syms RegistryConstants
  746.     set CSDVersion = 0
  747.     set KeyName = "SYSTEM\CurrentControlSet\Control\ProductOptions"
  748.     OpenRegKey $(!REG_H_LOCAL) "" $(KeyName) $(!REG_KEY_READ) KeyHandle
  749.     ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
  750.         Debug-Output "REGISTRY.INF: Couldn't open windows nt software key for read access"
  751.         goto end_GetCSDVersion
  752.     endif
  753.     GetRegValue $(KeyHandle) "CSDVersion" CSDVersionValue
  754.     ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
  755.         CloseRegKey $(KeyHandle)
  756.         goto end_GetCSDVersion
  757.     endif
  758.     set CSDVersion =  *($(CSDVersionValue), 4)
  759.     CloseRegKey $(KeyHandle)
  760. end_GetCSDVersion = +
  761.     Return $(Status) $(CSDVersion)
  762. [GetCheckedFree]
  763.     set Status = STATUS_SUCCESSFUL
  764.     read-syms RegistryConstants
  765.     set System = Free
  766.     set KeyName = "Software\Microsoft\Windows NT\CurrentVersion"
  767.     OpenRegKey $(!REG_H_LOCAL) "" $(KeyName) $(!REG_KEY_READ) KeyHandle
  768.     ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
  769.         Debug-Output "REGISTRY.INF: Couldn't open windows nt software key for read access"
  770.         goto end_GetCheckedFree
  771.     endif
  772.     GetRegValue $(KeyHandle) "CurrentType" CurrentTypeValue
  773.     ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
  774.         CloseRegKey $(KeyHandle)
  775.         goto end_GetCheckedFree
  776.     endif
  777.     Split-String *($(CurrentTypeValue), 4) " " CurrentTypeList
  778.     ForListDo $(CurrentTypeList)
  779.        ifstr(i) $($) == "free"
  780.           set System = free
  781.        else-ifstr(i) $($) == "checked"
  782.           set System = checked
  783.        endif
  784.     EndForListDo
  785.     CloseRegKey $(KeyHandle)
  786. end_GetCheckedFree = +
  787.     Return $(Status) $(System)
  788. [QueryOkCancel]
  789.     set DlgText = $($0)
  790.     read-syms QueryOKCancelDlg$(!STF_LANGUAGE)
  791.     ui start "SetupMessage"
  792.     ifstr(i) $(DLGEVENT) == "OK"
  793.         set Status     = STATUS_SUCCESSFUL
  794.         set UserAction = $(DLGEVENT)
  795.     else-ifstr(i) $(DLGEVENT) == "CANCEL"
  796.         set Status     = STATUS_SUCCESSFUL
  797.         set UserAction = $(DLGEVENT)
  798.     else
  799.         set Status     = STATUS_FAILED
  800.         set UserAction = "CANCEL"
  801.     endif
  802.     Return $(Status) $(UserAction)
  803. [Source Media Descriptions]
  804.     1 = "Windows NT Workstation CD-ROM" , TAGFILE = cdrom.w
  805. [Signature]
  806.     FileType = MICROSOFT_FILE
  807. [GetSignature]
  808.     read-syms Signature
  809.     return $(FileType)
  810. [ProductType]
  811. STF_PRODUCT  = Winnt
  812. STF_PLATFORM = ppc
  813. [Source Media Descriptions]
  814.     1  = "Windows NT 3.51 Update Disk #1"  , TAGFILE = disk1
  815.     2  = "Windows NT 3.51 Update Disk #2"  , TAGFILE = disk2
  816.     3  = "Windows NT 3.51 Update Disk #3"  , TAGFILE = disk3
  817.     4  = "Windows NT 3.51 Update Disk #4"  , TAGFILE = disk4
  818.     5  = "Windows NT 3.51 Update Disk #5"  , TAGFILE = disk5
  819.     6  = "Windows NT 3.51 Update Disk #6"  , TAGFILE = disk6
  820.     7  = "Windows NT 3.51 Update Disk #7"  , TAGFILE = disk7
  821.     8  = "Windows NT 3.51 Update Disk #8"  , TAGFILE = disk8
  822.     9  = "Windows NT 3.51 Update Disk #9"  , TAGFILE = disk9
  823.     10 = "Windows NT 3.51 Update Disk #10" , TAGFILE = disk10
  824. [Strings]
  825.     String1 = "This update disk cannot be used on this platform."
  826.     String2 = "Setup failed to update the system."
  827.     String3 = "Setup has successfully updated your system."
  828.     String4 = "You do not have permission to update the system.  Please contact your system administrator."
  829.     String5 = "Setup failed to setup your updated files for secure operation."
  830.     String8 = "Setup has detected that the version of the system installed is "+
  831.               "newer than the update you are applying to it.  The update can render "+
  832.               "your system unstartable.  Press OK if you still wish to continue "+
  833.               "or press Cancel to exit Setup."
  834.     String9 = "Setup is going to update your Windows NT system with the English "+
  835.               "version of the update program.  If you wish to cancel the update "+
  836.               "process, please press Cancel or press OK to continue."
  837.     String11 = "Setup couldn't find the setup.log file in your repair directory. "+
  838.                "Setup cannot proceed to update your system.  Please copy the setup.log "+
  839.                "file from your Emergency Repair Disk to your repair directory "+
  840.                "and restart the update."
  841.     String12 = "Setup has not updated your system.  If you wish to update your "+
  842.                "system please run the update utility again."
  843.     String13a = "Not enough hard disk space to run Setup.  Setup needs at least "
  844.     String13b = "MB of free hard disk space on "
  845.     String13c = " before it can be run.  Delete some"+
  846.                 " files and run the Update program again."
  847.     String14  = "Setup cannot update your Windows NT files because it could not "+
  848.                 "determine your product type.  Your registry may be corrupt."
  849.     String15  = "Setup cannot update your checked system.  The update can only "+
  850.                 "be applied to the retail system."
  851.     String16  = "Setup cannot update your Windows NT files because your system is "+
  852.                 "NT 3.1 or NT 3.5. Please upgrade your system to the retail Windows NT 3.51, "+
  853.                 "and then update your system."
  854.     String17  = "Setup cannot update your Windows NT files because your system is "+
  855.                 "a pre-release of NT 3.51. Please upgrade your system to the retail "+
  856.                 "Windows NT 3.51, and then update your system."
  857.     String18  = "Setup cannot update your Windows NT files because your system is "+
  858.                 "a version later than NT 3.51.  The update can only be applied "+
  859.                 "to Windows NT 3.51."
  860.     String19  = "Setup cannot update your Windows NT files because you have installed "+
  861.                 "the IBM Power Management version of NT 3.51.  Please see IBM for "+
  862.                 "a Service Pack that can be installed on your system."
  863.     Billboard1 = "Please wait..."
  864.     Billboard2 = "Please wait while the files to be updated are determined..."
  865.     Billboard3 = "Please wait while the Emergency Repair Disk is updated..."
  866. [ProgressCopyENG]
  867.     ProCaption   = "Windows NT Setup"
  868.     ProCancel    = "Cancel"
  869.     ProCancelMsg = "The Windows NT 3.51 files are not completely updated.  Are you sure you want "+
  870.                    "to cancel copying files?"
  871.     ProCancelCap = "Setup Message"
  872.     ProText1     = "Copying:"
  873.     ProText2     = "To:"
  874. [SetupDoneDlgENG]
  875.     Caption     = "Windows NT Setup"
  876.     DlgText     = "Windows NT 3.51 has been updated. If you change or add "+
  877.                   "any components to your system, you will need to "+
  878.                   "reapply the update."$(!LF)$(!LF)+
  879.                   "Remove disks from the floppy disk drives and "+
  880.                   "choose Restart Computer to run the updated system."
  881.     Reboot      = "&Restart Computer"
  882.     Windows     = "E&xit to Windows NT"
  883.     DlgType     = "Info"
  884.     DlgTemplate = "REBOOT"
  885. [QueryOKCancelDlgENG]
  886.     STF_MB_TITLE = "Setup Message"
  887.     DlgType      = "MessageBox"
  888.     STF_MB_TEXT  = $(DlgText)
  889.     STF_MB_TYPE  = 2
  890.     STF_MB_ICON  = 4
  891.     STF_MB_DEF   = 1
  892.